import request from '@/utils/request';
// list
export const createZL = (params) => {
  return request({
    url: '/admin/ziliao',
    method: 'post',
    data: params,
  })
};



export const updateZL = (params) => {
  return request({
    url: '/admin/ziliao/' + params.id,
    method: "PATCH",
    data: params,
  })
};

export const deleteZL = (params) => {
  return request({
    url: '/admin/ziliao/' + params.id,
    method: "DELETE",
  })
};



export const findAll = (params) => {
  return request({
    url: '/admin/ziliao',
    method: 'get',
    data: params,
  })
};